package com.atguigu.day15.homework.homework1;

import org.junit.Test;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/19 8:41
 * @注释
 */
public class HomeWork01 {
    @Test
    public void test01(){
        Integer i1 = 128;
        Integer i2 = 128;
        int i3 = 128;
        int i4 = 128;
        System.out.println(i1 == i2);
        System.out.println(i3 == i4);
        System.out.println(i1 == i3);
    }

    @Test
    public void test02(){
        double a = 2.0;
        double b = 2.0;
        Double c = 2.0;
        Double d = 2.0;
        System.out.println(a == b);
        System.out.println(c == d);
        System.out.println(a == d);
    }


}
